package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 理赔单表
 * </p>
 *
 * @author LX
 * @since 2018-09-25
 */
@TableName("erp_claims")
public class ErpClaims extends Model<ErpClaims> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 理赔单号
     */
    @TableField("claims_id")
    private String claimsId;
    /**
     * 受理日期
     */
    @TableField("claims_dt")
    private String claimsDt;
    /**
     * 受理日期
     */
    @TableField("claims_unit")
    private String claimsUnit;
    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;
    /**
     * 车牌号码
     */
    @TableField("car_palte")
    private String carPalte;
    /**
     * 品名
     */
    @TableField("MName")
    private String MName;
    /**
     * 规格
     */
    @TableField("specification")
    private String specification;
    /**
     * 客户确认
     */
    @TableField("clientsQ")
    private String clientsQ;
    /**
     * 品牌
     */
    @TableField("brand")
    private String brand;
    /**
     * 型号
     */
    @TableField("size")
    private String size;
    /**
     * 生产编号
     */
    @TableField("produce_id")
    private String produceId;
    /**
     * 初检内容
     */
    @TableField("one_content")
    private String oneContent;
    /**
     * 初检日期
     */
    @TableField("one_dt")
    private String oneDt;
    /**
     * 初检经办
     */
    @TableField("one_attn")
    private String oneAttn;
    /**
     * 鉴定内容
     */
    @TableField("appraisal_content")
    private String appraisalContent;
    /**
     * 鉴定日期
     */
    @TableField("appraisal_dt")
    private String appraisalDt;
    /**
     * 鉴定结论
     */
    @TableField("appraisal_result")
    private String appraisalResult;
    /**
     * 理赔金额
     */
    @TableField("claims_price")
    private Double claimsPrice;
    /**
     * 物料去向
     */
    @TableField("matarials_to")
    private String matarialsTo;
    /**
     * 理赔状态
     */
    @TableField("claims_status")
    private String claimsStatus;
    /**
     * 销售编号
     */
    @TableField("sale_id")
    private String saleId;
    /**
     * 销售日期
     */
    @TableField("sale_dt")
    private String saleDt;
    /**
     * 使用里程
     */
    @TableField("use_mileage")
    private Double useMileage;
    /**
     * dt号
     */
    @TableField("dot_id")
    private String dotId;
    /**
     * 车辆型号
     */
    @TableField("car_size")
    private String carSize;
    /**
     * 胎位
     */
    @TableField("tire_place")
    private String tirePlace;
    /**
     * 交接日期
     */
    @TableField("handover_dt")
    private String handoverDt;
    /**
     * 财物经办
     */
    @TableField("financial_attn")
    private String financialAttn;
    /**
     * 业务经理
     */
    @TableField("business_managger")
    private String businessManagger;
    /**
     * 连接
     */
    @TableField("master_id")
    private String masterId;
    //1:质量理赔2:物料索赔
    
    @TableField("type")
    private Integer type;
    
    //填表人
    @TableField("createBy")
    private String createBy;
    /**
     * 物料id
     */
    @TableField("materiel_id")
    private Integer materielId;
    /**
     * 销售价格
     */
    @TableField("selling_price")
    private  Double  sellingPrice;

    public Double getSellingPrice() {

        return sellingPrice;
    }

    public void setSellingPrice(Double sellingPrice) {
        this.sellingPrice = sellingPrice;
    }

    public Integer getMaterielId() {
        return materielId;
    }

    public void setMaterielId(Integer materielId) {
        this.materielId = materielId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getClaimsId() {
        return claimsId;
    }

    public void setClaimsId(String claimsId) {
        this.claimsId = claimsId;
    }

    public String getClaimsDt() {
        return claimsDt;
    }

    public void setClaimsDt(String claimsDt) {
        this.claimsDt = claimsDt;
    }

    public String getClaimsUnit() {
        return claimsUnit;
    }

    public void setClaimsUnit(String claimsUnit) {
        this.claimsUnit = claimsUnit;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCarPalte() {
        return carPalte;
    }

    public void setCarPalte(String carPalte) {
        this.carPalte = carPalte;
    }

    public String getMName() {
        return MName;
    }

    public void setMName(String MName) {
        this.MName = MName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getClientsQ() {
        return clientsQ;
    }

    public void setClientsQ(String clientsQ) {
        this.clientsQ = clientsQ;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getProduceId() {
        return produceId;
    }

    public void setProduceId(String produceId) {
        this.produceId = produceId;
    }

    public String getOneContent() {
        return oneContent;
    }

    public void setOneContent(String oneContent) {
        this.oneContent = oneContent;
    }

    public String getOneDt() {
        return oneDt;
    }

    public void setOneDt(String oneDt) {
        this.oneDt = oneDt;
    }

    public String getOneAttn() {
        return oneAttn;
    }

    public void setOneAttn(String oneAttn) {
        this.oneAttn = oneAttn;
    }

    public String getAppraisalContent() {
        return appraisalContent;
    }

    public void setAppraisalContent(String appraisalContent) {
        this.appraisalContent = appraisalContent;
    }

    public String getAppraisalDt() {
        return appraisalDt;
    }

    public void setAppraisalDt(String appraisalDt) {
        this.appraisalDt = appraisalDt;
    }

    public String getAppraisalResult() {
        return appraisalResult;
    }

    public void setAppraisalResult(String appraisalResult) {
        this.appraisalResult = appraisalResult;
    }

    public Double getClaimsPrice() {
        return claimsPrice;
    }

    public void setClaimsPrice(Double claimsPrice) {
        this.claimsPrice = claimsPrice;
    }

    public String getMatarialsTo() {
        return matarialsTo;
    }

    public void setMatarialsTo(String matarialsTo) {
        this.matarialsTo = matarialsTo;
    }

    public String getClaimsStatus() {
        return claimsStatus;
    }

    public void setClaimsStatus(String claimsStatus) {
        this.claimsStatus = claimsStatus;
    }

    public String getSaleId() {
        return saleId;
    }

    public void setSaleId(String saleId) {
        this.saleId = saleId;
    }

    public String getSaleDt() {
        return saleDt;
    }

    public void setSaleDt(String saleDt) {
        this.saleDt = saleDt;
    }

    public Double getUseMileage() {
        return useMileage;
    }

    public void setUseMileage(Double useMileage) {
        this.useMileage = useMileage;
    }

    public String getDotId() {
        return dotId;
    }

    public void setDotId(String dotId) {
        this.dotId = dotId;
    }

    public String getCarSize() {
        return carSize;
    }

    public void setCarSize(String carSize) {
        this.carSize = carSize;
    }

    public String getTirePlace() {
        return tirePlace;
    }

    public void setTirePlace(String tirePlace) {
        this.tirePlace = tirePlace;
    }

    public String getHandoverDt() {
        return handoverDt;
    }

    public void setHandoverDt(String handoverDt) {
        this.handoverDt = handoverDt;
    }

    public String getFinancialAttn() {
        return financialAttn;
    }

    public void setFinancialAttn(String financialAttn) {
        this.financialAttn = financialAttn;
    }

    public String getBusinessManagger() {
        return businessManagger;
    }

    public void setBusinessManagger(String businessManagger) {
        this.businessManagger = businessManagger;
    }

    public String getMasterId() {
        return masterId;
    }

    public void setMasterId(String masterId) {
        this.masterId = masterId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpClaims{" +
        ", id=" + id +
        ", claimsId=" + claimsId +
        ", claimsDt=" + claimsDt +
        ", claimsUnit=" + claimsUnit +
        ", customerName=" + customerName +
        ", carPalte=" + carPalte +
        ", MName=" + MName +
        ", specification=" + specification +
        ", clientsQ=" + clientsQ +
        ", brand=" + brand +
        ", size=" + size +
        ", produceId=" + produceId +
        ", oneContent=" + oneContent +
        ", oneDt=" + oneDt +
        ", oneAttn=" + oneAttn +
        ", appraisalContent=" + appraisalContent +
        ", appraisalDt=" + appraisalDt +
        ", appraisalResult=" + appraisalResult +
        ", claimsPrice=" + claimsPrice +
        ", matarialsTo=" + matarialsTo +
        ", claimsStatus=" + claimsStatus +
        ", saleId=" + saleId +
        ", saleDt=" + saleDt +
        ", useMileage=" + useMileage +
        ", dotId=" + dotId +
        ", carSize=" + carSize +
        ", tirePlace=" + tirePlace +
        ", handoverDt=" + handoverDt +
        ", financialAttn=" + financialAttn +
        ", businessManagger=" + businessManagger +
        ", masterId=" + masterId +
        "}";
    }
}
